package com.xhsj.user.pms.patent.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xhsj.user.pms.patent.domain.Patent;
import com.xhsj.user.pms.patent.query.PatentFindPatentListQuery;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

/**
 * @author 苏小林
 * @Description
 * @createTime 2020年02月20日 10:40:00
 */
public interface PatentService {

    void save(Map<String, Object> param) throws Exception;

    IPage<Patent> findList(Map<String, Object> param);

    //根据内部编号修改专利文件
      int updatePatenByNum(Patent patent);
//    保存已有的专利
    int saveAlreadyExistingPatent(Map<String, Object> param);

    IPage<Map<String, Object>> findPatentList(PatentFindPatentListQuery param) throws ParseException;

    // 二级报表查询专利文件列表
    IPage<Map<String, Object>> findPatentListPie(PatentFindPatentListQuery param) throws ParseException;

    //通过饼状图查询专利文件列表
    IPage<Map<String, Object>> findPiePatentList(PatentFindPatentListQuery param) throws ParseException;

    void saveJudges(Map<String, Object> param) throws Exception;

    void savePatentInfo(Map<String,Object> param) throws Exception;
}
